package com.zhang.sh.clients;

import com.zhang.sh.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("order-service")
public interface OrderServiceApi {
    @GetMapping("order/{username}")
    public Result getOrderList(@PathVariable("username") String username);

}
